import './App.css'

import {Provider} from "react-redux";
import {PersistGate} from "redux-persist/integration/react";
import {persistedStore, store} from "./redux/store";
import IndexRouter from "./router/indexRouter";

function App() {


    return <Provider store={store}>
        <PersistGate persistor={persistedStore} loading={null}>
            <IndexRouter></IndexRouter>
        </PersistGate>
    </Provider>
}

export default App;
